Skip to content

Rename Query::newExpr() to Query::expr()#326

Merged
LordSimal merged 2 commits into5.xfrom
5.3-query-expr
Sep 18, 2025
Merged

Rename Query::newExpr() to Query::expr()#326
LordSimal merged 2 commits into5.xfrom
5.3-query-expr

Conversation

@ADmad
Copy link
Copy Markdown
Member

@ADmad ADmad commented Sep 18, 2025

@ADmad ADmad requested a review from LordSimal September 18, 2025 07:34
@ADmad
Copy link
Copy Markdown
Member Author

ADmad commented Sep 18, 2025

@LordSimal Thank you for the test case.

@LordSimal
Copy link
Copy Markdown
Contributor

The fact that rector doesn't actually execute the code but only looks at the AST means, stuff like that can rather easily be tested.

We already have quite the nice testing setup for version specific stuff, so adding those "sanity check" tests should be our standard 😁

@LordSimal LordSimal merged commit 7e7e2cb into 5.x Sep 18, 2025
3 checks passed
@LordSimal LordSimal deleted the 5.3-query-expr branch September 18, 2025 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants